﻿using System.Windows.Threading;

namespace SvgViewer.Core;

/// <summary>
/// 视图服务接口
/// </summary>
public interface IViewService
{
    /// <summary>
    /// 显示其它视图
    /// </summary>
    /// <param name="token">识别标志</param>
    /// <param name="args">参数列表</param>
    void Show(string token, params object[] args);

    /// <summary>
    /// 显示提示信息
    /// </summary>
    /// <param name="message">提示内容</param>
    void ShowTip(string message);

    /// <summary>
    /// 多线程调度
    /// </summary>
    Dispatcher Dispatcher { get; }
}